<?php /* Smarty version 2.6.13, created on 2008-10-22 14:57:46
         compiled from param_list.tpl */ ?>
<ul class="acls">
<?php $_from = $this->_tpl_vars['fvConfig']->get('acls'); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['acl_name'] => $this->_tpl_vars['acl']):
?>

    <?php if (is_array ( $this->_tpl_vars['acl'] )): ?> 
        <li> 
        <input type="checkbox" name="" value="" id="permitions_<?php echo $this->_tpl_vars['acl_name']; ?>
" <?php echo 'onclick="$$(\'#content div.form ul.acls li input#permitions_';  echo $this->_tpl_vars['acl_name'];  echo ' + label + ul > li > input\').each(function (el) {el.checked = $(\'permitions_';  echo $this->_tpl_vars['acl_name'];  echo '\').checked; window.updateSitePermitions(el);});"'; ?>
>
        <label for="permitions_<?php echo $this->_tpl_vars['acl_name']; ?>
" class="checkbox"><?php echo $this->_tpl_vars['acl']['name']; ?>
</label>
        <ul class="acls">
        <?php $_from = $this->_tpl_vars['acl']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['acl_chld_name'] => $this->_tpl_vars['acl_chld']):
?>
            <?php if ($this->_tpl_vars['acl_chld_name'] != 'name'): ?>
                <li><input type="checkbox" name="permitions[]" value="<?php echo $this->_tpl_vars['acl_chld_name']; ?>
" id="permitions_<?php echo $this->_tpl_vars['acl_chld_name']; ?>
" <?php if (in_array ( $this->_tpl_vars['acl_chld_name'] , $this->_tpl_vars['Privileges']->permitions )): ?>checked="true"<?php endif; ?> onchange="$('permitions_<?php echo $this->_tpl_vars['acl_name']; ?>
').checked = false; window.updateSitePermitions(this);">
                <label for="permitions_<?php echo $this->_tpl_vars['acl_chld_name']; ?>
" class="checkbox"><?php echo $this->_tpl_vars['acl_chld']; ?>
</label></li>
            <?php endif; ?>
        <?php endforeach; endif; unset($_from); ?>
        </ul>
        </li>
    <?php else: ?>
        <li><input type="checkbox" name="m[permitions][]" value="<?php echo $this->_tpl_vars['acl_name']; ?>
" id="permitions_<?php echo $this->_tpl_vars['acl_name']; ?>
" <?php if (in_array ( $this->_tpl_vars['acl_name'] , $this->_tpl_vars['Privileges']->permitions )): ?>checked="true"<?php endif; ?> onchange="window.updateSitePermitions(this);">
        <label for="permitions_<?php echo $this->_tpl_vars['acl_name']; ?>
" class="checkbox"><?php echo $this->_tpl_vars['acl']; ?>
</label></li>
    <?php endif;  endforeach; endif; unset($_from); ?>
</ul>
